import React from 'react'
import { Redirect, Route, Switch } from 'react-router-dom'
import TrainQuestion from '../../../views/question/TrainQuestion'
export default function NewRouter(props) {
  return (
    <Switch>
      <Route path="/question/train" component={TrainQuestion}></Route>
      <Redirect from="/" to={"/question/train"}></Redirect>
    </Switch>

  )
}